package com.redoor.app.stake.basicdata.model;

/**
 * Created by wangjunlei on 2018/3/3.
 */
public interface BussinessTypeEnum {
    enum MQ_BUSINESS_TYPE implements BussinessTypeEnum {
        STATION("STATION",1),
        STAKE("STAKE",2),
        CHARGER("CHARGER",3),
        REGISTRACTION("REGISTRACTION",4),
        REGISTRACTIONAPPLY("REGISTRACTIONAPPLY",5);

        private String name;
        private int type;
        // 构造方法
        private MQ_BUSINESS_TYPE(String name, int type) {
            this.name = name;
            this.type = type;
        }

        // get set 方法
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    enum TRACE_BUSINESS_TYPE implements BussinessTypeEnum {
        STATION("STATION",1),
        STAKE("STAKE",2),
        CHARGE("CHARGE",3);

        private String name;
        private int type;
        // 构造方法
        private TRACE_BUSINESS_TYPE(String name, int type) {
            this.name = name;
            this.type = type;
        }

        // get set 方法
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    enum WEB_OPERATOR_TYPE implements BussinessTypeEnum {
        LOG,
        STATION,
        STAKE,
        CHARGE,
        PARKING_AREA,
        PARKING_SPACE,
        WORK_ORDER,
        ASSET_DEVICE,
        ASSET_FACTORY;
    }


    enum TAG_TYPE implements BussinessTypeEnum {
        ADD("ADD",1),
        UPDATE("UPDATE",2),
        DELETE("DELETE",3),
        LOG_IN("LOG_IN",4),
        LOG_OUT("LOG_OUT",5),
        SSO_LOG("SSO_LOG",6),
        EXPORT("EXPORT",7),
        IMPORT("IMPORT",8);

        private String name;
        private int type;
        // 构造方法
        private TAG_TYPE(String name, int type) {
            this.name = name;
            this.type = type;
        }

        // get set 方法
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    enum TRACE_TYPE {
        WEB("WEB",1),
        MQ("MQ",2),
        WORKORDER("WORKORDER",3),
        TIMETASK("TIMETASK",4),
        HSF("HSF",5);

        private String name;
        private int type;
        // 构造方法
        private TRACE_TYPE(String name, int type) {
            this.name = name;
            this.type = type;
        }

        // get set 方法
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
